package com.manager.service;
import com.manager.entity.dao.User;
import com.manager.entity.vo.UserVo;
import com.manager.entity.dto.UserDto;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easyCode.feature.mybaits.CustomPage;
import java.util.List;
public interface IUserService extends IService<User> {
    Integer saveUser(UserVo userVo);
    UserDto getUserById(Integer id);
    List<UserDto> listUser(String queryExample, CustomPage customPage);
    void delUserById(Integer id);
    Boolean changeUserSubCampus(Integer campusId,Integer userId);

    boolean enableOrDisableUser(Integer userId, Integer enable);
}
